<?php

namespace App\Providers;

use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        /* \DB::listen(function($query) {
             // $query->sql
             // $query->bindings
             // $query->time
             \Log::info('SQL EXCUTE: ', [$query->sql, $query->bindings]);
         });

        \Blade::directive('accredit', function ($expression) {
            return "<?php if(true): ?>";
        });

        \Blade::directive('endaccredit', function ($expression) {
            return "<?php endif; ?>";
        });*/
    }

    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        //
    }
}
